package com.fly.consumers.filter;

import java.util.Collection;

import feign.RequestInterceptor;
import feign.RequestTemplate;

public class SessionFilter implements RequestInterceptor{

	public void apply(RequestTemplate template) {
		System.err.println("Feign 拦截器");
		Collection<String> collection = template.request().headers().get("hhhh");
		for (String string : collection) {
			System.err.println(string);
		}
	}

}
